package com.cykj.pos.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cykj.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 商户下发收款者对象 biz_merchant_receiver
 *
 * @author xxl
 * @date 2022-03-24
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_merchant_receiver")
public class BizMerchantReceiver implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
    private Long merchId;


    private Long userId;
    /** 身份证件号码 */
    @Excel(name = "身份证件号码")
    private String merchName;


    /** 身份证件号码 */
    @Excel(name = "身份证件号码")
    private String merchIdcard;

    /** 银行预留手机号 */
    @Excel(name = "银行预留手机号")
    private String merchBankMobile;

    /** 结算银行卡号 */
    @Excel(name = "结算银行卡号")
    private String merchBankCardno;

    /** 身份证件正面照 */
    @Excel(name = "身份证件正面照")
    private String merchIdcardPositive;

    /** 签约状态 */
    @Excel(name = "签约状态")
    private String contractStatus;

    /** 失败原因 */
    @Excel(name = "失败原因")
    private String erroMessage;

    /** 流水号 */
    @Excel(name = "流水号")
    private String serialNo;

    /** 签约系统的 流水号 */
    @Excel(name = "签约系统的 流水号")
    private String dealNo;

    /** 身份证件背面照 */
    @Excel(name = "身份证件背面照")
    private String merchIdcardBack;

    /** 创建时间 */
    private String createTime;

    /*推送类型*/
    private String notifyType;
    /*下载地址（失败的情况此参数为空*/
    private String downloadUrl;
    /*公司*/
    private String companyId;

    private String ylgSignStatus;

    private String ylgSignContent;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

    private String sign;

    private String deptId;
    @TableField(exist = false)
    private Long mMerchId;
    @TableField(exist = false)
    private Long mUserId;
}
